]> dgit.raspbian.org Git - gnome-shell.git/commit
ci: Produce toolbox images
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 16 Mar 2023 18:01:45 +0000 (19:01 +0100)
committerMarge Bot <marge-bot@gnome.org>
Tue, 16 May 2023 18:20:42 +0000 (18:20 +0000)
commita837285ae3d2fbede734c8c7119dc73f65c361ea
tree892a816b52afc18d6e3006be3d483ce956c4e816
parent27617ef0a3187dc47669a889eea20f9396c7f3c5
ci: Produce toolbox images

Toolbox is a convenient option for development, but setting up
the image with all dependencies is annoying at best, in particular
later in the cycle when `dnf builddep` is likely insufficient.

To address that, produce toolbox images for main and stable branches
that are based on the regular CI image, and update them whenever
the image version is updated. This guarantees that all build- and
runtime dependencies are included.

Unsurprisingly, the script that produces the image draws heavily
from freedesktop's ci-templates. The most notable difference
(other than being neither distro-agnostic nor generic) is that
tag names are fixed (toolbox:main, toolbox:43 etc.) to make them
easier to consume.

Instead, whether an image needs rebuilding is based on a custom
label that records the base image that was used.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2713>
.gitlab-ci.yml
.gitlab-ci/build-toolbox-image.sh [new file with mode: 0755]